<p>
  <strong>Amount:</strong><%= payment.amount %></br>
  <strong>Change:</strong><%= payment.change %></br>
  <strong>Payment method:</strong><%= payment.payment_method.label %></br>
  <strong>Card number:</strong><%= payment.card_number %></br>
  <strong>Card provider:</strong><%= payment.card_provider.label %></br>
  <strong>Card transaction ref:</strong><%= payment.card_transaction_ref %></br>
  <strong>Created at:</strong><%= payment.created_at %></br>

<%= link_to 'Edit', edit_invoice_payment_path(:id => payment, :invoice_id => params[:id]) %> |
<%= link_to 'Destroy', invoice_payment_path(:id => payment, :invoice_id => params[:id]), method: :delete, data: { confirm: 'Are you sure?' }%>

</p>
